home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / ScrollBar.h.z / ScrollBar.h
C/C++ Source or Header  |  2002-10-15  |  2KB  |  74 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /*   $XConsortium: ScrollBar.h /main/11 1995/07/13 17:54:59 drk $ */
  12. /*
  13. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  14. /*
  15. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  16. #ifndef _XmScrollBar_h
  17. #define _XmScrollBar_h
  18.  
  19.  
  20. #include <Xm/Xm.h>
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /*  ScrollBar Widget  */
  27.  
  28. externalref WidgetClass xmScrollBarWidgetClass;
  29.  
  30. typedef struct _XmScrollBarClassRec * XmScrollBarWidgetClass;
  31. typedef struct _XmScrollBarRec      * XmScrollBarWidget;
  32.  
  33. /* ifndef for Fast Subclassing  */
  34.  
  35. #ifndef XmIsScrollBar
  36. #define XmIsScrollBar(w)    XtIsSubclass(w, xmScrollBarWidgetClass)
  37. #endif  /* XmIsScrollBar */
  38.  
  39.  
  40. /********    Public Function Declarations    ********/
  41.  
  42. extern Widget XmCreateScrollBar( 
  43.                         Widget parent,
  44.                         char *name,
  45.                         ArgList arglist,
  46.                         Cardinal argcount) ;
  47. extern void XmScrollBarGetValues( 
  48.                         Widget w,
  49.                         int *value,
  50.                         int *slider_size,
  51.                         int *increment,
  52.                         int *page_increment) ;
  53. extern void XmScrollBarSetValues( 
  54.                         Widget w,
  55.                         int value,
  56.                         int slider_size,
  57.                         int increment,
  58.                         int page_increment,
  59. #if NeedWidePrototypes
  60.                         int notify) ;
  61. #else
  62.                         Boolean notify) ;
  63. #endif /* NeedWidePrototypes */
  64.  
  65. /********    End Public Function Declarations    ********/
  66.  
  67.  
  68. #ifdef __cplusplus
  69. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  70. #endif
  71.  
  72. #endif /* _XmScrollBar_h */
  73. /* DON'T ADD ANYTHING AFTER THIS #endif */
  74.